﻿Public Class LoaiNhaBUS

    Private empDAL As LoaiNhaDAO

    Public Sub New()
        empDAL = New LoaiNhaDAO
    End Sub

    Public Function Getdata() As List(Of LoaiNhaDTO)
        Return empDAL.Getdata()
    End Function

    Public Function IsUpLN(ByVal emp As LoaiNhaDTO, ByVal f As Boolean) As Boolean
        Return empDAL.IsUpLN(emp, f)
    End Function

    Public Function DeleteLN(ByVal emp As LoaiNhaDTO)
        Return empDAL.DeleteLN(emp)
    End Function

End Class
